﻿<%@ Page Language="C#" MasterPageFile="~/Templates/Public.master" AutoEventWireup="true"
    CodeFile="forum.aspx.cs" Inherits="forum" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LeftContent" runat="Server">
    <table width="100%" border="0">
        <tr class="CommonHeaderBackground">
            <td style="padding-left:5px;">
                GStriker Forums
            </td>
        </tr>
        <tr>
            <td align="center" valign="top">
                <asp:GridView ID="grvForum" runat="server" SkinID="GridViewPostsNoHeader">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <a href='recent-posts.aspx?id=<%# Eval("CategoryID")%>'>
                                    <asp:Image ID="imgBoard" runat="server" SkinID="ImageBoard" />
                                </a>
                            </ItemTemplate>
                            <ItemStyle Width="10%" HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <a href='recent-posts.aspx?id= <%# Eval("CategoryID")%>' class="PostTitle">
                                    <%# Eval("CategoryName")%></a>
                            </ItemTemplate>
                            <ItemStyle Width="70%" HorizontalAlign="Left" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <%# string.Format("{0:D}", Eval("TotalPost"))%>
                            </ItemTemplate>
                            <ItemStyle Width="20%" HorizontalAlign="Center" ForeColor="White" />
                            <ItemStyle />
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
   
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContent" runat="Server">
</asp:Content>
